import axios from 'axios'
export default class leasePayment {
     //查询租赁合同信息
     getLeasecontract(){
        return axios.get('http://localhost/leasePayment',)
     }
     //查询供应商
     getCompanyName(){
        return axios.get('http://localhost/leasePayment/getCompanyName',)
     }

     getMaxid(){
        return axios.get('http://localhost/leasePayment/getMaxid')
    }
    //添加租赁付款信息
    saveLeasePayment(leasePayment){

        return axios.post('http://localhost/leasePayment/saveLeasePayment',leasePayment)
    }
    

    //查询所有付款列表
    listPaymentlist(args){
       return axios.get(`http://localhost/leasePayment/listPaymentlist`,{params:args})
    }

}